package ModLayer;
import java.io.*;

/**
 * Write a description of class Employee here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Employee extends PersonInformations implements Serializable
{
    private String job;
    private String bankAccountNo;
    private String id;
    private String salary;
    private String turnover;
    
    public Employee(String name, String email, String address, String phoneNo, 
    String job, String bankAccountNo, String id, String salary)
    {
        super(name, email, address, phoneNo);
        this.job = job;
        this.bankAccountNo = bankAccountNo;
        this.id = id;
        this.salary = salary;
        turnover = "0";
    }
    
    public void setJob(String job)
    {
        this.job = job;
    }
    
    public void setBankAccountNo(String bankAccountNo)
    {
        this.bankAccountNo = bankAccountNo;
    }
    
    public void setID(String id)
    {
        this.id = id;
    }
    
    public void setSalary(String salary)
    {
        this.salary = salary;
    }
    
    public void setTurnover(String turnover)
    {
        this.turnover = turnover;
    }
    
    public String getTurnover()
    {
        return turnover;
    }
    
    public String getJob()
    {
        return job;
    }
    
    public String getBankAccountNo()
    {
        return bankAccountNo;
    }
    
    public String getID()
    {
        return id;
    }
    
    public String getSalary()
    {
        return salary;
    }
    
    public String toString()
    {
        return "Employee";
    }
}